package com.goods.business.service;

import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;

import java.util.List;

public interface SupplierService {
    //List<SupplierVO> findSupplierList(String name);
    List<SupplierVO> getSupplierList(Supplier supplier);

    Integer addSupplier(Supplier supplier);

    SupplierVO edit(Long id);

    Integer update(Long id, Supplier supplier);

    Integer delete(Long id);

    List<SupplierVO> findAll();
}
